export type collectionType = {
  collectPageStay: boolean;
  proxyUrl: string;
  defaultMode: defaultModeType;
  pageStay?: {
    stayInterval?: number;
  };
};

export enum defaultModeType {
  Beacon = 1,
  Img = 2
}
export enum CollectionType {
  Click = 1,
  PageStay = 2,
  PageLive = 3,
  PageRefresh = 4,
  PageSwitch = 5,
  PageWhite = 6
}

export type CollectionInfo = {
  type: CollectionType | 0;
  pageUrl: string;
  stayDuration?: number;
};
